.BridgeWeatherDetectionModule {
  &.chartPanel {
    @width: @SYSPANELWIDTH *2;
    width: @width;
    left: -(@width + @SYSMARGIN);

    &.open {
      left: @SYSMARGIN;

      &.min {
        left: -(@width + @SYSMARGIN) !important;

        .minmax {
          right: -@SYSMARGIN;
          flex-direction: row-reverse;
          transform-origin: right top;
          transform: rotateZ(270deg);
          top: 0;

          .icon {
            transform: rotateZ(270deg);
          }
        }
      }
    }

    display: flex;
    flex-direction: column;

    .tableBlock {
      .wrap {
        table {
          .body {
            padding-right: 1px;

            tr.error {
              td {
                //color: #ffff00;
              }
            }
          }
        }
      }
    }
  }

  .treeBlock {
    .tree {
      .titleDiv {
        > .icon:not(.list) {
          background-image: none;
          border-radius: 24px;
          width: 14px;
          height: 14px;
          margin: auto 8px;
          background-color: #ccc;
        }
      }

      .normal {
        > .titleDiv {
          > .icon {
            background-image: none;
            border-radius: 24px;
            width: 14px;
            height: 14px;
            margin: auto 8px;
            background-color: #0f0;
          }
        }
      }

      .alert {
        > .titleDiv {
          > .icon {
            background-image: none;
            border-radius: 24px;
            width: 14px;
            height: 14px;
            margin: auto 8px;
            background-color: #f00;
          }
        }
      }

      .rotate {

      }

      .move {

      }

      &.active {
        .titleDiv {
          > .title {
            color: @themeGreen;
          }
        }
      }
    }
  }
}


.BridgeWeatherDetectionNodeBlock.propertiesBlock {

  > .wrap {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 300px;

    .item.properties {
      .animation();
      .rel;
      flex: 0 0 46%;
      cursor: pointer;
      margin: 4px;
      border-radius: 5px;
      background-color: rgba(255, 255, 255, 0.8);
      height: 76px;

      > .label {
        font-size: 16px;
        height: 16px;
        line-height: 16px;
        color: black;
        font-weight: bold;
      }

      .value {
        .abs;
        left: 10px;
        bottom: 7px;
        font-size: 30px;
        font-family: Arial, sans-serif;
        font-weight: bold;
        color: @color-green2;
        height: 30px;
        line-height: 30px;
      }

      &.alarm {
        .value {
          color: red;
        }
      }

      .unit {
        .abs;
        right: 10px;
        bottom: 10px;
        font-size: 14px;
        opacity: 0.8;
        height: 14px;
        line-height: 14px;
        color: black;
      }

      &:hover, &.active {
        background-color: white;

        .unit {
          opacity: 1;
        }
      }
    }

    .status {
      .rel;
      padding-left: 15px;

      &:before {
        content: "";
        display: block;
        .abs;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background-color: #ccc;
        border-radius: 10px;
      }

      &.normal {
        &:before {
          background-color: #0f0;
        }
      }

      &.alert {
        &:before {
          background-color: #f00;
        }
      }
    }

  }


  .button {
    border-radius: 10px;
    border: 1px solid;
    background-color: fade(@theme, 10);
    text-align: center;
    padding: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;

    &:hover {
      background-color: fade(@theme, 80);
    }
  }
}

.BridgeWeatherDetectionNodeBlock.alarmBlock {

  > .wrap {

    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 500px;

    .item.properties {
      .animation();
      .rel;
      cursor: pointer;
      margin: 4px;
      border-radius: 5px;
      background-color: rgba(255, 255, 255, 0.8);
      height: 76px;
      width: 140px;
      flex: auto;

      > .label {
        font-size: 16px;
        height: 16px;
        line-height: 16px;
        color: black;
        font-weight: bold;
      }

      .value {
        .abs;
        left: 10px;
        bottom: 7px;
        font-size: 30px;
        font-family: Arial, sans-serif;
        font-weight: bold;
        color: @color-green2;
        height: 30px;
        line-height: 30px;
      }

      &.alarm {
        .value {
          color: red;
        }
      }

      .unit {
        .abs;
        right: 10px;
        bottom: 10px;
        font-size: 14px;
        opacity: 0.8;
        height: 14px;
        line-height: 14px;
        color: black;
      }

      &:hover, &.active {
        background-color: white;

        .unit {
          opacity: 1;
        }
      }
    }

    > .folder {
      width: 320px;
      margin-left: 16px;
      margin-right: 0;

      > .label {
        display: none;
      }
    }
  }


}